var vm = new Vue({
    el: "#app",
    data: {
        num: 0,//保存点击按钮下标
        list: [
            { pic: '', name: '首页' },
            { pic: '', name: '爆爆团' },
            { pic: '', name: '订单' },
            { pic: '', name: '我的' },
        ]
    },
    methods: {
        handleClick(index) {
            this.num = index;
            console.log(index);
            
        }
    }
})